package com.dynaBlaster.containerTest;

import android.test.ActivityInstrumentationTestCase2;
import com.dynaBlaster.DynaBlaster;
import com.dynaBlaster.DynaView;
import com.dynaBlaster.Point;
import com.dynaBlaster.R;

public class BaseAndroidTest extends BaseAndroidSuite {
	
	public void testPreconditions() {
		assertNotNull(mView);
		assertNotNull(mActivity);
	}

//	public void testSave() {
//
//		// Start the main activity of the application under test
//		mActivity = getActivity();
//
//		// Get a handle to the Activity object's main UI widget
//		mView = (DynaView) mActivity.findViewById(com.dynaBlaster.R.id.dyna);
//
//		// Set the mode
//		mView.setMode(DynaView.READY);
//
//		// Stop the activity - The onDestroy() method should save the state
//		mActivity.finish();
//
//		// Re-start the Activity - the onResume() method should restore the
//		// state
//		mActivity = getActivity();
//
//		// Get the Spinner's current position
//		int currentPosition = mView.getMode();
//
//		// Assert that the current position is the same as the starting position
//		assertEquals(DynaView.READY, currentPosition);
//	}

}